﻿<%@ Page Title="Đăng nhập" Language="C#" MasterPageFile="~/VeTau.Master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="Website_ve_tau.Account.Login" %>
<%@ Register Src="~/Account/OpenAuthProviders.ascx" TagPrefix="uc" TagName="OpenAuthProviders" %>

<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
    <hgroup class="title">
       <h1><%: Title %>.</h1>
    </hgroup>
    <section id="loginForm">
        <asp:Login runat="server" ViewStateMode="Disabled" Width="519px" Height="230px">
            <LayoutTemplate>
                <p class="validation-summary-errors">
                    <asp:Literal runat="server" ID="FailureText" />
                </p>
                <fieldset>
                    <legend>Đăng nhập</legend>

                    
                    <ul>
                        <li>
                            <asp:Label runat="server" AssociatedControlID="UserName">Tên người dùng</asp:Label><br />
                            <asp:TextBox runat="server" ID="UserName" />
                            <asp:RequiredFieldValidator runat="server" ControlToValidate="UserName" CssClass="field-validation-error" ErrorMessage="Xin vui lòng nhập tên đăng nhập!" ID="rvdUserName" Font-Italic="True" ForeColor="Red" />
                        </li>
                        <li>
                            <asp:Label runat="server" AssociatedControlID="Password">Mật khẩu</asp:Label><br />
                            <asp:TextBox runat="server" ID="Password" TextMode="Password" />
                            <asp:RequiredFieldValidator runat="server" ControlToValidate="Password" CssClass="field-validation-error" ErrorMessage="Xin vui lòng nhập mật khẩu!" ID="rvdPass" Font-Italic="True" ForeColor="Red" />
                        </li>
                        <li>
                            <asp:CheckBox runat="server" ID="cbRememberMe" />
                            <asp:Label runat="server" AssociatedControlID="RememberMe" CssClass="checkbox">Nhớ tên đăng nhập và mật khẩu?</asp:Label>
                        </li>
                    </ul>
                    <asp:Button runat="server" CommandName="Login" Text="Đăng nhập" ID="btnDangNhap" BackColor="#99CCFF" BorderStyle="None" Font-Bold="True" ForeColor="White" style="text-align: center" />
                </fieldset>
            </LayoutTemplate>
        </asp:Login>
        <p>
            Bạn chưa có tài khoản? <asp:HyperLink runat="server" ID="RegisterHyperLink" ViewStateMode="Disabled" Font-Underline="true">Đăng ký </asp:HyperLink>ngay.
            
        </p>
    </section>

    <section id="socialLoginForm">
       
        <uc:OpenAuthProviders runat="server" ID="OpenAuthLogin" />
    </section>
</asp:Content>
